package static_package;

class A
{
	static String countA()
	{
		return "Hi";
	}
}
public class RedefiningStaticMethod extends A 
{
	static String countA()
	{
		return "Hello";
	}
	public static void main(String[] args) 
	{
		A a = new A();
		A b = new RedefiningStaticMethod();
		RedefiningStaticMethod c = new RedefiningStaticMethod();
		
		System.out.println(a.countA());
		System.out.println(b.countA());
		System.out.println(c.countA());
	}

}
